
/**
 * 插入排序算法
 * @param arr 
 */
function insert(arr: number[], first, index){

    const current = arr[index];
    if(current > first){
        first = current;
        
    }
    else{

    }
    
}


export function main(arr: number[]){
    insert(arr, arr[0], 1);
}